/**
 * Project: cmbank-dao
 * 
 * File Created at Oct 21, 2011
 * $Id$
 * 
 * Copyright 2008 6677bank.com Croporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * 6677bank Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with 6677bank.com.
 */
package com.bank6677.sync.csm.domain;

import java.util.Date;

import org.apache.commons.lang.StringUtils;

/**
 * 预约
 * 
 * @author liyanbo
 * @version Reservation.java Oct 21, 2011 4:57:09 PM
 */
public class Reservation {
    private Integer resId;    //预约ID

    public Long     applyId;

    private String  resType;  //预约类型，1新申请信息2修改资料3资料补充4处理退回

    private String  resStatus; //预约状态，0不可用1可用

    private Integer resCause; //预约原因

    private Date    resTime;  //预约时间

    private Date    createDt; //创建预约时间

    private String  resRemark; //预约备注

    private Integer operator; //操作人

    /**
     * @return the applyId
     */
    public Long getApplyId() {
        return applyId;
    }

    /**
     * @param applyId the applyId to set
     */
    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    /**
     * @return the resId
     */
    public Integer getResId() {
        return resId;
    }

    /**
     * @return the resType
     */
    public String getResType() {
        return resType;
    }

    /**
     * @return the resStatus
     */
    public String getResStatus() {
        return resStatus;
    }

    /**
     * @return the resCause
     */
    public Integer getResCause() {
        return resCause;
    }

    /**
     * @return the resTime
     */
    public Date getResTime() {
        return resTime;
    }

    /**
     * @return the createDt
     */
    public Date getCreateDt() {
        return createDt;
    }

    /**
     * @return the resRemark
     */
    public String getResRemark() {
        return resRemark;
    }

    /**
     * @return the operator
     */
    public Integer getOperator() {
        return operator;
    }

    /**
     * @param resId the resId to set
     */
    public void setResId(Integer resId) {
        this.resId = resId;
    }

    /**
     * @param resType the resType to set
     */
    public void setResType(String resType) {
        this.resType = resType;
    }

    /**
     * @param resStatus the resStatus to set
     */
    public void setResStatus(String resStatus) {
        this.resStatus = resStatus;
    }

    /**
     * @param resCause the resCause to set
     */
    public void setResCause(Integer resCause) {
        this.resCause = resCause;
    }

    /**
     * @param resTime the resTime to set
     */
    public void setResTime(Date resTime) {
        this.resTime = resTime;
    }

    /**
     * @param createDt the createDt to set
     */
    public void setCreateDt(Date createDt) {
        this.createDt = createDt;
    }

    /**
     * @param resRemark the resRemark to set
     */
    public void setResRemark(String resRemark) {
        this.resRemark = StringUtils.length(resRemark) > 500 ? StringUtils.substring(resRemark, 0, 500) : resRemark;
    }

    /**
     * @param operator the operator to set
     */
    public void setOperator(Integer operator) {
        this.operator = operator;
    }

}
